package com.niuniu.rushdorm.service;


import com.niuniu.rushdorm.pojo.vo.ResultVO;
import org.springframework.transaction.annotation.Transactional;


@Transactional(rollbackFor = {Exception.class})
public interface GroupsService {

    public ResultVO create(String groupName, String desc, long uid);

    public ResultVO delete(long uid);

    public ResultVO join(long uid,int gender, String inviteCode);

    public ResultVO leave(long uid);

    public ResultVO my(long uid);

    public ResultVO transfer(long uid, String studentId);

}
